안녕 쿼토(Quarto)

한국에 온 것을 환영합니다!

Author
Affiliation

이광춘

한국 R 사용자회

1 소개

이 문서는 Quarto로 만든 헬로 월드 문서이다.

2

표 1 에 최근 우크라이나 전쟁으로 인한 고물가 간단한 표를 보여줍니다.

표 1: 장바구니 물가
과일 가격
사과 1,200
바나나 500
체리 200

3 그래프와 이미지

3.1 이미지

Quarto 로고

3.2 그래프

Code
library(tidyverse)
library(showtext)
library(palmerpenguins)

font_add_google("Nanum Pen Script", "nanum_pen_script")
font_add_google("Jua", "Jua")
showtext_auto()

theme_quarto <- theme(
  text = element_text(family = 'Jua', size = 25),
  plot.title.position = 'plot',
  plot.title = element_text(
    family = 'nanum_pen_script', size = 55,
    face = 'bold', 
    colour = thematic::okabe_ito(8)[3],
    margin = margin(t = 2, r = 0, b = 3, l = 0, unit = "mm")
  ),
  plot.subtitle = element_text(
    family = 'Jua', size = 25,
    face = 'bold', 
    colour = thematic::okabe_ito(8)[5],
    margin = margin(t = 0, r = 0, b = 0, l = 0, unit = "mm")
  )
  
)

theme_set(theme_minimal() + theme_quarto)

mass_flipper <- ggplot(data = penguins,
                       aes(x = flipper_length_mm,
                           y = body_mass_g,
                           color = species)) +
  geom_point(size = 3,
             alpha = 0.8) +
  labs(title = "팔머 관측소 LTER 서식 펭귄 크기",
       subtitle = "Adelie, Chinstrap, Gentoo 펭귄에 대한 물갈퀴 길이와 체질량",
       x = "물갈퀴 길이(Flipper length) (mm)",
       y = "체질량(Body mass) (g)")


ragg::agg_png("penguins.png", width = 5, height = 5, units = "in", res = 300, scaling = 0.5)
mass_flipper
dev.off()

펭귄 시각화 사례

4 코드

4.1 파이썬 코드

Code
print("파이썬에서 헬로 월드!")
파이썬에서 헬로 월드!

4.2 R 코드

Code
print("R에서 헬로 월드!")
[1] "R에서 헬로 월드!"

5 수식

간단한 수식을 보여줍니다:

\[ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} \]

(Smith 2021)에서 언급한 것처럼 이것은 예시 문서입니다.

6 글씨 크기

Huge > huge > LARGE > Large > large > normalsize > small > footnotesize > scriptsize > tiny

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

쿼토(Quarto)가 글쓰기 미래다

7 다이어그램

graph LR
  A("1. 가상환경 구축") --> B("2. API KEY 발급과 저장")
  B --> C("3. openai 패키지 설치")
  style A fill:#f9d5e5,stroke:#333,stroke-width:2px
  style B fill:#eeac99,stroke:#333,stroke-width:2px
  style C fill:#e06377,stroke:#333,stroke-width:2px
  classDef default fill:#f9f7f7,stroke:#333,stroke-width:2px;

8 참고문헌

참고 문헌 인용과 목록 생성 실험을 합니다. 한국어 문헌과 구미어 문헌은 그 목록형성과 인용 방법이 다릅니다. 한국어 문헌의 예를 들면, (김의중 et al. 2003)같고, 영어 문헌은 예를 들면, (Allport and Jarratt 1992)같습니다.

9 문헌목록

Allport, G., and P. Jarratt. 1992. “The Old and the New in Document Processing.” J-Electronic-Library 10 (1): 41–45.
Smith, John. 2021. “흥미로운 제목.” 어떤 저널.
김의중, 이상익, 정도언, 신민섭, and 윤인영. 2003. “한국판 기분상태척도(k-POMS)의 표준화와 신뢰도와 타당도 평가.” 수면·정신생리 10 (1): 39–51.